package com.gjy.mybatis.stu.entity;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-10-10 12:24:09
 */
@Data
public class User {

    private Long id;
    private String username;
    private String email;
    private String password;
    private Integer age;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    // 构造方法
    public User() {
    }

    public User(String username, String email, String password, Integer age) {
        this.username = username;
        this.email = email;
        this.password = password;
        this.age = age;
    }

}
